using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using ESoft.Core.Data;
using ESoft.Core.Data.Entity;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace ESoft.Portal.Data.Domain.Entity
{
    /// <summary>
    /// CImage
    /// </summary>    
	[Table("c_image")]
    public partial class CImageEntity : BaseModel
    {
		/// <summary>
        /// 
        /// </summary>
		[Key] 
		[Column("IMAGE_ID")]
        public string ImageId { get; set; }
		/// <summary>
        /// 
        /// </summary> 
		[Column("IMAGE_NAME")]
        public string ImageName { get; set; }
		/// <summary>
        /// 
        /// </summary> 
		[Column("IMAGE_PATH")]
        public string ImagePath { get; set; }
		/// <summary>
        /// 
        /// </summary> 
		[Column("IMAGE_EXE")]
        public string ImageExe { get; set; }
		/// <summary>
        /// 
        /// </summary> 
		[Column("MINE_TYPE")]
        public string MineType { get; set; }
		/// <summary>
        /// 
        /// </summary> 
		[Column("CREATE_DATETIME")]
        public DateTime? CreateDatetime { get; set; }
    }

		public class CImageConfiguration : EntityMappingConfiguration<CImageEntity>
    {
        public override void Map(EntityTypeBuilder<CImageEntity> b)
        {
        }
    }
}

